// Object.assign  合并多个对象

function dyx_assign(target, sources){
    for(let key in sources){
        if(sources.hasOwnProperty(key)){
            let descriptor = Object.getOwnPropertyDescriptor(sources, key);
            Object.defineProperties(target, descriptor);
        }
    }
    return target
}